package com.pxmeta.party.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxmeta.party.entity.LotteryLuckyUser;
import com.pxmeta.party.entity.vo.LuckyUserRankingVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface LotteryLuckyUserMapper extends BaseMapper<LotteryLuckyUser> {


    List<LuckyUserRankingVO> getLotteryRanking(@Param("page") Page<LuckyUserRankingVO> page,@Param("type") Integer type);


    IPage<LotteryLuckyUser> getUserLotteryRecordPage(@Param("page") Page<LotteryLuckyUser> page, @Param("type") Integer type, @Param("keyword") String keyword);
}
